home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / C / LIB / DESK / CORE / Desk / h / Kbd < prev    next >
Text File  |  1996-05-21  |  915b  |  44 lines

  1.  
  2. #ifndef __Desk_Kbd_h
  3. #define __Desk_Kbd_h
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #ifndef __Desk_Core_h
  8. #include "Desk.Core.h"
  9. #endif
  10. extern Desk_bool Desk_Kbd_KeyDown(int keynum);
  11. typedef enum
  12. {
  13. Desk_inkey_ADJUST = -12, 
  14. Desk_inkey_MENU = -11, 
  15. Desk_inkey_SELECT = -10, 
  16. Desk_inkey_RALT = -9, 
  17. Desk_inkey_LALT = -6, 
  18. Desk_inkey_ALT = -3, 
  19. Desk_inkey_RCTRL = -8, 
  20. Desk_inkey_LCTRL = -5, 
  21. Desk_inkey_CTRL = -2, 
  22. Desk_inkey_RSHIFT = -7, 
  23. Desk_inkey_LSHIFT = -4, 
  24. Desk_inkey_SHIFT = -1 
  25. } Desk_kbd_neginkey;
  26. extern char Desk_Kbd_GET(void);
  27. typedef struct
  28. {
  29. unsigned alt : 1;
  30. unsigned ctrl : 1;
  31. unsigned shift : 1;
  32. unsigned Desk_left_alt : 1;
  33. unsigned Desk_left_ctrl : 1;
  34. unsigned Desk_left_shift : 1;
  35. unsigned Desk_right_alt : 1;
  36. unsigned Desk_right_ctrl : 1;
  37. unsigned Desk_right_shift : 1;
  38. } Desk_kbd_modifiers;
  39. extern Desk_kbd_modifiers Desk_Kbd_GetModifiers(Desk_bool detailed);
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43. #endif
  44.